/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(135deg, #4b6cb7, #182848);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 返回首页按钮样式 */
.home-button {
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

footer .home-button {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
}

/* 标签页样式 */
.tab-container {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.tab {
    padding: 12px 24px;
    background-color: #f1f1f1;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.tab.active {
    background-color: #4b6cb7;
    color: white;
}

.tab:hover:not(.active) {
    background-color: #ddd;
}

/* 内容区域样式 */
.tab-content {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 0 5px 5px 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

/* 行程列表样式 */
.itinerary {
    padding-left: 20px;
}

.itinerary li {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #eee;
}

.itinerary li:last-child {
    border-bottom: none;
}

.itinerary h3 {
    color: #4b6cb7;
    margin-bottom: 0.5rem;
}

/* 图片样式 */
.location-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.location-image:hover {
    transform: scale(1.01);
}

/* 图片信息样式 */
.image-info {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.image-info i {
    color: #4b6cb7;
    margin-right: 5px;
    width: 16px;
    text-align: center;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: #333;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .home-button {
        padding: 6px 12px;
        font-size: 0.9rem;
        left: 10px;
        top: 10px;
    }
}